package com.mqb;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mqb
 * @date 2021/3/19 17:55
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @PostMapping("/ffu")
    public String ffu() {
        return "failureForwardUrl";
    }

    @GetMapping("/fu")
    public String fu() {
        return "failureUrl";
    }
}
